package com.wuze.cloud.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: wuze
 * @description:
 * @date: 2023/02/20
 */
@Data
public class SysFilePreCheckQuery implements Serializable {
    private static final long serialVersionUID = -904205168016255989L;

    @NotNull(message = "文件夹id不能为空")
    private Long folderId;
    @NotNull(message = "文件唯一标识不能为空")
    private String openKey;
    @NotNull(message = "文件名不能为空")
    private String fileName;

    @NotNull(message = "文件大小不能为空")
    private Long size;

}
